package org.overmind.ieat.server.exceptions.provider;

/**
 * @author eugene.karanda
 */
public class ProviderDeleteException extends RuntimeException {
    private int deletedId;

    public ProviderDeleteException(int deletedId) {
        this.deletedId = deletedId;
    }

    public ProviderDeleteException(Throwable cause, int deletedId) {
        super(cause);
        this.deletedId = deletedId;
    }

    public int getDeletedId() {
        return deletedId;
    }
}
